﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Skyhook.Core;

namespace Skyhook.Logic
{
    class VisualController
    {
        IVisualObject Sprite = null;

        public VisualController()
        {
        }

        public void SetVisualObject(IVisualObject sprite)
        {
            if( Sprite == null )
            {
                Sprite = sprite;
            }
        }

        protected void ShowGroups(params int[] groupnums)
        {
            Sprite.ShowGroups(groupnums);
        }
        protected void SetGroupsCurrentEntity(int entitynum, int group)
        {
            Sprite.SetGroupsCurrentEntity(entitynum, group);
        }
        protected void SetGroupsCurrentEntity(int entitynum, int group1, int group2)
        {
            Sprite.SetGroupsCurrentEntity(entitynum, group1, group2);
        }
        protected void SetGroupsCurrentEntity(int entitynum, int group1, int group2, int group3)
        {
            Sprite.SetGroupsCurrentEntity(entitynum, group1, group2, group3);
        }
        protected void SetGroupsCurrentEntity(int entitynum, int group1, int group2, int group3, int group4)
        {
            Sprite.SetGroupsCurrentEntity(entitynum, group1, group2, group3, group4);
        }
    }
}
